package com.example.room_type;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages = {"com.example.room_type", "com.example.core", "com.example.redis"})
@EnableDiscoveryClient //开启服务注册和发现
@EnableFeignClients
@EnableTransactionManagement
public class RoomTypeApplication {

    public static void main(String[] args) {
        SpringApplication.run(RoomTypeApplication.class, args);
    }

}
